package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

/**
 * 预约设置业务接口
 */
public interface OrderSettingService {

    /**
     * 批量添加
     * @param orderSettings
     */
    void addAll(List<OrderSetting> orderSettings);

    /**
     *根据月份查询数据
     * @param year
     * @param month
     * @return
     */
    List<OrderSetting> getOrderSettingByMonth(Integer year, Integer month);


    /**
     *根据日期编辑number
     * @param orderDate
     */
    void editNumberByDate(Date orderDate, int number);


}
